%%%-------------------------------------------------------------------
%%% @author admin
%%% @copyright (C) 2022, <COMPANY>
%%% @doc
%%%
%%% @end
%%% Created : 25. 十一月 2022 18:20
%%%-------------------------------------------------------------------
-module(pub_data_svr_sup).
-author("admin").

%% API
-export([init/1, start_link/0]).

start_link() ->
    supervisor:start_link({local, ?MODULE}, ?MODULE, []).


% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
init([]) ->
    {ok, { {simple_one_for_one, 0, 1}, [pub_data_svr, {pub_data_svr, start_link, []}, temporary, 10000, worker,[pub_data_svr]]} }.
